﻿@model List<ServeNHL.Models.eventViewModel>
@{
    ViewBag.Title = "Upcoming Events";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Upcoming Events</h2>

@foreach(var eventItem in Model)
{
    
  
    <div class="row">
        <div class="col-sm-3">@Html.Raw(eventItem.eventCat.EVENT_CAT_NAME)</div>
        <div class="col-sm-3">@Html.Raw(eventItem.eventItem.NAME)</div>
        <div class="col-sm-3">@Html.ActionLink("View", "View", "Event", new { id = eventItem.eventItem.EVENT_ID }, null)</div>
        <div class="col-sm-3"></div>
    </div>
}

<div id="dialogEventDetail">

</div>